<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/js/jquery-3.1.1.min.js}"></script>
</head>
<body>
    <table border="2">
        <thead>
            <tr>
                <th>序号</th>
                <th>ID</th>
                <th>用户账号</th>
                <th>密码</th>
                <th>状态</th>
                <th>角色信息</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="user, userStat : ${userList}">
                <td th:text="${userStat.index}"></td>
                <td th:text="${user.id}"></td>
                <td th:text="${user.username}"></td>
                <td th:text="${user.password}"></td>
                <td th:text="${user.status}"></td>
                <td th:text="${user.roleList}"></td>
                <td th:text="">删除</td>
            </tr>
        </tbody>
    </table>

    <h2><a href="/api/shiro/user/add">add</a></h2>
    <h2><a href="/api/shiro/user/update">update</a></h2>
    <h2><a href="/api/shiro/user/delete">delete</a></h2>
    <h2><a href="/logout">logout</a></h2>
    <h2><a href="/admin/roles">admin</a></h2>
</body>

<script th:inline="javascript">

</script>

</html>